import Vue from 'vue';
import vueRouter from 'vue-router';

import news from './components/news/news.vue';
import read from './components/read/read.vue';
import personal from './components/personal/personal.vue';
import media from './components/media/media.vue';
Vue.use(vueRouter);
export default new vueRouter({
	routes:[
		{
			name:'news',
			path:'/news',
			component:news
		},
		{
			name:'read',
			path:'/read',
			component:read
		},
		{
			name:'media',
			path:'/media',
			component:media
		},
		{
			name:'personal',
			path:'/personal',
			component:personal
		},
	]
});
